package com.kangfu.db.model.request.huawei;

public class DataCollectorsCreateRequest {

    /**
     * collectorName : DataCollectorExample  //使用该名称来标识用户下同一类型数据产生的数据采集器，内部标识
     * collectorType : raw                  //数据采集器类型。可支持的取值如下： raw：原始类型, derived：派生类型
     * appInfo : {"appName":"Example App","appVersion":"1","clientId":"12324234"}
     * collectorDataType : {"name":"com.huawei.continuous.steps.delta"}
     */

    private String collectorType;
    private AppInfoBean appInfo;
    private CollectorDataTypeBean collectorDataType;


    public String getCollectorType() {
        return collectorType;
    }

    public void setCollectorType(String collectorType) {
        this.collectorType = collectorType;
    }

    public AppInfoBean getAppInfo() {
        return appInfo;
    }

    public void setAppInfo(AppInfoBean appInfo) {
        this.appInfo = appInfo;
    }

    public CollectorDataTypeBean getCollectorDataType() {
        return collectorDataType;
    }

    public void setCollectorDataType(CollectorDataTypeBean collectorDataType) {
        this.collectorDataType = collectorDataType;
    }

    public static class AppInfoBean {
        /**
         * appName : Example App
         * appVersion : 1
         * clientId : 12324234
         */

        private String appName;
        private String appVersion;
        private String clientId;

        public String getAppName() {
            return appName;
        }

        public void setAppName(String appName) {
            this.appName = appName;
        }

        public String getAppVersion() {
            return appVersion;
        }

        public void setAppVersion(String appVersion) {
            this.appVersion = appVersion;
        }

        public String getClientId() {
            return clientId;
        }

        public void setClientId(String clientId) {
            this.clientId = clientId;
        }
    }

    public static class CollectorDataTypeBean {
        /**
         * name : com.huawei.continuous.steps.delta
         */

        private String name;

        public String getName() {
            return name;
        }

        public void setName(String name) {
            this.name = name;
        }
    }
}
